package com.macro.mall.dao.cms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.cms.CmsPrefrenceAreaProductRelationDO;
import com.macro.mall.model.cms.CmsPrefrenceAreaProductRelationQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CmsPrefrenceAreaProductRelationMapper extends BaseMapper<CmsPrefrenceAreaProductRelationDO> {
    long countByExample(CmsPrefrenceAreaProductRelationQuery example);

    int deleteByExample(CmsPrefrenceAreaProductRelationQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(CmsPrefrenceAreaProductRelationDO record);

    int insertSelective(CmsPrefrenceAreaProductRelationDO record);

    List<CmsPrefrenceAreaProductRelationDO> selectByExample(CmsPrefrenceAreaProductRelationQuery example);

    CmsPrefrenceAreaProductRelationDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CmsPrefrenceAreaProductRelationDO record, @Param("example") CmsPrefrenceAreaProductRelationQuery example);

    int updateByExample(@Param("record") CmsPrefrenceAreaProductRelationDO record, @Param("example") CmsPrefrenceAreaProductRelationQuery example);

    int updateByPrimaryKeySelective(CmsPrefrenceAreaProductRelationDO record);

    int updateByPrimaryKey(CmsPrefrenceAreaProductRelationDO record);
}
